search for: getobject

Displaying 20 results from an estimated 54 matches for "getobject".

Did you mean: get_object
2013 Nov 09
2
Enumeratings shares on Samba (3/4) servers with vbs
Hi, Working on an login script here for my samba4 servers. I try to get an list of the shares on server with this vb code. Set shares = GetObject("WinNT://SERVER/LanmanServer") For Each s In shares WScript.Echo s.Name Next The code works fine against Windows 2003/2008 R2. But if SERVER is an Samba Server (tested 3.6.x/4.0.10) i get an group not found error. Other this like printer enumeration works Set printers = GetObjec...
2012 May 23
1
AD / new auxiliary class / vb script
...ributs-et-display-specifiers I've named the menu item with the same name (AllowedService). By right-clicking on a AD user then on the menu AllowedService, the following script is executed and it is intended to modify iscA1 attribute. The script is : /set args = WScript.arguments Set user = GetObject(args(0)) temp = InputBox("iscA1 value", "Set iscA1", user.iscA1) user.put "iscA1", temp user.setInfo/ My first problem : when I right-click I've the message : "this object does not support this property or method". Precision : i've linked my new au...
2016 Jul 07
2
ObjectCache and getFunctionAddress issue
...= M->getModuleIdentifier(); auto iter = CachedObjs.find(id); if (iter == CachedObjs.end()) { auto buf = llvm::MemoryBuffer::getMemBufferCopy(Obj.getBuffer(), Obj.getBufferIdentifier()); CachedObjs.insert(std::make_pair(id, std::move(buf))); } }; virtual std::unique_ptr<llvm::MemoryBuffer> getObject(const llvm::Module *M) { auto id = M->getModuleIdentifier(); auto iter = CachedObjs.find(id); if (iter != CachedObjs.end()) { llvm::MemoryBuffer& B = *iter->second; return llvm::MemoryBuffer::getMemBufferCopy(B.getBuffer(), B.getBufferIdentifier()); } else return nullptr; }; } When I gen...
2004 Nov 15
0
[LLVMdev] LLVM and memory leaks
Chris Lattner wrote: >>It would also solve another problem -- We generate new shader code when >>the user changes parameters, because the shader will be executed >>millions of times it makes sense to recompile it with changed constants >>to get maximum optimization. But if some of these parameters are floats, >>and there is no way to destroy constants in LLVM we have
2004 Nov 16
2
[LLVMdev] LLVM and memory leaks
...n in the Constant class, Constant::ClearAllValueMaps(). 3. The LeakDetector changes: These are not ok, because the order of construction of the static objects is not defined (these maps may be initialized after other things that put stuff into them). If you change the static objects in getObjects() and getLLVMObjects() to be LLVMObjects themselves instead of pointers, I think everything should work fine (they will be initialized on first use that way). In other words, getObjects becomes: Objects &getObjects() { static Objects Objs; return Objs; } 4. The Types...
2016 Nov 09
2
[ORC] SimpleCompiler and module transformations
...am I try to get object file for a module from a cache. If the object file exists, then I just proceed to a module analysis phase. If the object does not exist, then I compile the module, put object file into a cache, and then proceed to a module analysis phase. In other words: let object = cache.getObject(module); if object == null { object = compile(module) cache.putObject(object, module) } processModule(module) When I run my program two times, then I basically analyze two different modules, even though they are loaded from the same bitcode file. Please, let me know if more informat...
2004 Nov 12
2
[LLVMdev] LLVM and memory leaks
On Thu, 11 Nov 2004, Morten Ofstad wrote: > Well, I already tried that, but the destructors crash because they are > referencing other things which are being destroyed - Constants are Users > of each other and there is no easy way to destroy them in the right > order. There are ways around this, but it turns into a two-pass operation: loop over all constants to drop their uses, then
2014 Mar 04
0
Anybody have issues joining machines to a S4 AD domain using VBS
...onst DOMAIN_JOIN_IF_JOINED = 32 Const JOIN_UNSECURE = 64 Const MACHINE_PASSWORD_PASSED = 128 Const DEFERRED_SPN_SET = 256 Const INSTALL_INVOCATION = 262144 strDomain = "xxxx.com" strPassword = "xxxx" strUser = "Joiner" strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") 'Join Computer to domain Set objNetwork = CreateObject("WScript.Network") strComputer = objNetwork.ComputerName Set objComputer = GetObject("winmgmt...
2013 Mar 20
2
Samba4 - mapping Network Drives based on Group membership
...o Query the AD in Samba4. Can anyone help? for reference here is the VBScript I use: On Error Resume Next Set objSysInfo = CreateObject("ADSystemInfo") Set objNetwork = CreateObject("Wscript.Network") strUserPath = "LDAP://" & objSysInfo.UserName Set objUser = GetObject(strUserPath) objNetwork.MapNetworkDrive "Z:", "\\10.100.1.128\Public" For Each strGroup in objUser.MemberOf strGroupPath = "LDAP://" & strGroup Set objGroup = GetObject(strGroupPath) strGroupName = objGroup.CN Select Case strGroupName...
2014 Sep 18
2
[LLVMdev] How to cache MCJIT compiled object into memory?
Hi, All I m not sure if this question has been asked or not. I'd like cache the MCJIT compiled object into memory buffer so it can be reused later. I followed the Andy Kaylor's example wrote an inherited class from ObjectCache and use raw_fd_ostream to save the cache and load the cache from a file. I checked raw_ostream and its subclass, maybe I am wrong but I don't see one is fit to
2017 Jun 27
0
Seg Fault memory violation
...Cache at entry=TRUE) at eval.c:6400 #5 0x00007ffff78d4138 in Rf_eval (e=0x3ae5e38, rho=0x17f3d450) at eval.c:624 #6 0x00007ffff78d4a7e in forcePromise (e=e at entry=0x17f3d488) at eval.c:520 #7 0x00007ffff78d41ec in Rf_eval (e=0x17f3d488, rho=0x607a68) at eval.c:661 #8 0x00007ffff790a940 in GetObject (cptr=<optimized out>, cptr=<optimized out>) at objects.c:82 #9 0x00007ffff790b8e2 in do_usemethod (call=0x887498, op=<optimized out>, args=0x887460, env=<optimized out>) at objects.c:449 #10 0x00007ffff78c462a in bcEval (body=body at entry=0x8874d0, rho=rho at entry=0x...
2005 Nov 17
0
problem with shell and acccess 97
...button is: Public Sub EjecutaAccessOLD(ByRef MiAccess As Object, vista As Integer, Informe, Condici?nWhere As String) Dim strDB As String Dim strCmd As String If Not MiAccess Is Nothing Then MiAccess.Quit Set MiAccess = Nothing End If Set MiAccess = GetObject(, "Access.Application") strDB = CaminoAlServidor & "\informes.mdb" strCmd = SysCmd(acSysCmdAccessDir) & "\MSAccess.exe " _ & Chr(34) & strDB & Chr(34) & " /wrkgrp " & Chr(34) & DBEngine.SystemDB & Ch...
2001 Jul 12
0
BadMatch on X_CreateCursor (cvs 010712)
...P() retval=0x0cbc ret=05cf:04b9 ds=01ef 080a7df8:Call GDI.440: SETDIBITS(0x0bf4,0x0cbc,0x0000,0x0020,146f:0028,146f:0000,0x0000) ret=05cf:04db ds=01ef trace:x11drv:X11DRV_CreateBitmap (00000cbc) 32x32 1 bpp 080a7df8:Ret GDI.440: SETDIBITS() retval=0x0020 ret=05cf:04db ds=01ef 080a7df8:Call GDI.82: GETOBJECT(0x0cbc,0x000e,01ef:6e60) ret=05cf:04ea ds=01ef 080a7df8:Ret GDI.82: GETOBJECT() retval=0x000e ret=05cf:04ea ds=01ef 080a7df8:Call KERNEL.16: GLOBALREALLOC(0x146e,0x00000080,0x0000) ret=05cf:0500 ds=01ef 080a7df8:Ret KERNEL.16: GLOBALREALLOC() retval=0x146e ret=05cf:0500 ds=01ef 080a7df8:Call GDI....
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
...ExecEvalVar*(ExprState*, ExprContext*, bool*, ExprDoneCond*): 0x000000000069382e: push %rbp 0x000000000069382f: mov %rsp,%rbp 0x0000000000693832: push %r12 In the next run, I buildedunction of JittedOpExpr again and loaded compiled object from that saved binary file using getObject and went through getPointertoFunction from MCJIT execution engine, I got the following object code in memory. But this time 0x7fe4801fa1f8 points to 0x0, so when callq *(%rax) it couldn't find the ExecEvalVar anymore. I followed the blog "Object Caching with the Kaleidoscope Example Proble...
2004 Jul 17
2
gsub(*, perl=TRUE) bug incl. seg.fault (PR#7108)
...#2 0x080b1ac1 in findGlobalVar (symbol=0x8fd0060) at ../../../R/src/main/envir.c:923 #3 0x080b8873 in Rf_eval (e=0x823f2b8, rho=0x823f014) at ../../../R/src/main/eval.c:329 #4 0x080b88c9 in Rf_eval (e=0x8fd1e60, rho=0x821e540) at ../../../R/src/main/eval.c:354 #5 0x080e1e0e in GetObject (cptr=0xbfffd400) at ../../../R/src/main/objects.c:88 #6 0x080e2a3b in do_usemethod (call=0x84eb084, op=0x823be78, args=0x84eb0a0, env=0x8fd1df0) at ../../../R/src/main/objects.c:381 #7 0x080b8c33 in Rf_eval (e=0x84eb084, rho=0x8fd1df0) at ../../../R/src/main/eval.c:375 #8 0x080b...
2019 Aug 16
2
[ORC] [mlir] Dump assembly from OrcJit
...tacks, is to attach a dummy ObjectCache (see https://github.com/llvm/llvm-project/blob/master/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp) and dump the ObjBuffers that are passed in to the cache to disk. You can just return 'nullptr' from your dummy cache's getObject method, since you are not really using it as a cache. Alternatively, If you are writing a custom ORC stack there is a second option: You can insert an ObjectTransformLayer between your IRCompileLayer and ObjectLinkingLayer and use that to dump the buffers to disk. I hope this helps! -- Lang. On...
2013 Feb 01
1
Wine release 1.5.23
...bemprox - rFactor 2 launcher - Unhandled page fault 32764 STEP7_Lite_V30_incl_SP4 installation crashed 32776 Crashes in Legacy 5 resulting in its database being corrupted 32779 RegOpenKeyExA fails on 64bit wine when build with lazarus (fpc 2.6 - 64bit) 32788 Batman: Arkham Asylum Demo - GetObject gets an empty string 32799 err:d3d:check_fbo_compat 32806 Freight Tycoon crashes while loading to the menu (with built-in msvcr71) 32807 installer of PPTV: needs unimplemented atl100.dll.AtlGetPerUserRegistration 32812 Hard Truck Apocalypse crashes on start with built-in msvcp71 32819...
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
...l*, >> ExprDoneCond*): >> 0x000000000069382e: push %rbp >> 0x000000000069382f: mov %rsp,%rbp >> 0x0000000000693832: push %r12 >> >> In the next run, I buildedunction of JittedOpExpr again and loaded >> compiled object from that saved binary file using getObject and went >> through getPointertoFunction from MCJIT execution engine, I got the >> following object code in memory. But this time 0x7fe4801fa1f8 points to >> 0x0, so when callq *(%rax) it couldn't find the ExecEvalVar anymore. I >> followed the blog "Object Caching...
2004 Sep 10
2
usage of C++ StreamMetadata interface
Josh Coalson wrote: > [...] > why do you need one? all the fields are available though method > calls. just an example: I created an object of the type "FLAC::Metadata::VorbisComment". How will this find it's way to "FLAC::Stream::Encoder.set_metadata()" ??? Thomas
2002 Feb 21
0
ADSI in wine
...>> adsNameSpaces = win32com.client.Dispatch("ADsNameSpaces") err:win32:do_relocations Forced to relocate system DLL (base > 2GB). This is not good. err:win32:do_relocations Forced to relocate system DLL (base > 2GB). This is not good. >>> ldapNameSpace = adsNameSpaces.getobject("", "LDAP:") >>> ldapCont = ldapNameSpace.OpenDSObject("LDAP://uhgexchange00/cn=MRRoach,cn=Corporate Office,ou=UHG,o=Urology Healthcare Group", "cn=myusername,dc=uhg", "mypassword", 0) >>> ldapCont.Getinfo() wine: Unhandled excepti...