Yes. In the same place as the EXE or anywhere in the PATH should do it
Yes. In the same place as the EXE or anywhere in the PATH should do it
1.could not found _vostrtime@8 in DLL cavostr.dll
hi after installing Cavo27 with pating to 27a and 27b i want start the IDE and i got this error : "could not found _vostrtime@8 in DLL cavostr.dll" exactly with the german messagebox " Der Prozedureinstiegspunkt _vostrtime@8 wurde in der in DLL cavostr.dll nicht gefunden" What shoul i do ???? I am disappointed Bye Rainer
2.error rpsumfield:print not in dll "rp2RDD32.dll"
i have downloaded report pro 14 for vo 2.8. it shows following errors when starting rp2s_32.exe, comes with update third party product for 2.8: rpsumfield:print not in dll "repsql32.dll" binding and compiling report pro aef und dll version 14 for 2.8 in my application crashes with: error rpsumfield:print not in dll "rp2RDD32.dll" what can i do? greetings tom
3.interface tcl to mingw dll which uses a msvc dll
I'm not sure if this is a mingw or tcl problem. And seeing I have not gotten any repsonse from the mingw forum, I am posting here. I am trying to make a dll to allow tcl to interfaces to some hardware through a vendor supplied mscv dll (ljackus.dll). I have been able to write a dll which talks to tcl , but as soon as I include any code which talks to the msvc dll (#if 0 commented out), the driver will not load (couldn't load library "ljacktcl.dll": could not find specified procedure). Any idea what I am doing wrong. -------------------------------------------------------------------------- #include <windows.h> #include <tcl.h> #ifndef DECLSPEC_EXPORT #define DECLSPEC_EXPORT __declspec(dllexport) #endif // DECLSPEC_EXPORT BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved) { return TRUE; } int ljackCmdHello ( ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { Tcl_Obj *resultPtr; resultPtr=Tcl_GetObjResult(interp); Tcl_SetStringObj(resultPtr, "hello back at you", 17); return TCL_OK; } EXTERN_C int DECLSPEC_EXPORT Ljacktcl_Init(Tcl_Interp* interp) { #ifdef USE_TCL_STUBS Tcl_InitStubs(interp, "8.4", 0); #endif Tcl_Obj *version = Tcl_SetVar2Ex(interp, "Ljacktcl_version", NULL, Tcl_NewDoubleObj(0.1), TCL_LEAVE_ERR_MSG); if (version == NULL) return TCL_ERROR; printf("creating labjack command"); // Call Tcl_CreateObjCommand etc. Tcl_CreateObjCommand(interp, "hello", ljackCmdHello, NULL, NULL); //Tcl_CreateObjCommand(interp, "getWinVersion", ljackCmdGetWinVersion, NULL, NULL); int r = Tcl_PkgProvide(interp, "Ljacktcl", Tcl_GetString(version)); return r; } EXTERN_C int DECLSPEC_EXPORT Ljacktcl_SafeInit(Tcl_Interp* interp) { // We don't need to be specially safe so... return Ljacktcl_Init(interp); } #if 0 long _stdcall GetWinVersion(unsigned long *majorVersion, unsigned long *minorVersion, unsigned long *buildNumber, unsigned long *platformID, unsigned long *servicePackMajor, unsigned long *servicePackMinor); int ljackCmdGetWinVersion ( ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { unsigned long majorVersion; unsigned long minorVersion; unsigned long buildNumber; unsigned long platformID; unsigned long servicePackMajor; unsigned long servicePackMinor; Tcl_Obj *resultPtr, *temp; resultPtr=Tcl_GetObjResult(interp); if (objc != 1) { Tcl_WrongNumArgs(interp,0,objv,""); return TCL_ERROR; } if(GetWinVersion( &majorVersion, &minorVersion, &buildNumber, &platformID, &servicePackMajor, &servicePackMinor)) { Tcl_SetStringObj(resultPtr,"library routine error ",-1); return TCL_ERROR; } Tcl_SetListObj(resultPtr, 0, NULL); temp = Tcl_NewLongObj(majorVersion); Tcl_ListObjAppendElement(interp, resultPtr,temp ); Tcl_SetLongObj(temp, minorVersion); Tcl_ListObjAppendElement(interp, resultPtr,temp ); Tcl_SetLongObj(temp, buildNumber); Tcl_ListObjAppendElement(interp, resultPtr,temp ); Tcl_SetLongObj(temp, platformID); Tcl_ListObjAppendElement(interp, resultPtr,temp ); Tcl_SetLongObj(temp, servicePackMajor); Tcl_ListObjAppendElement(interp, resultPtr,temp ); Tcl_SetLongObj(temp, servicePackMinor); Tcl_ListObjAppendElement(interp, resultPtr,temp ); return TCL_OK; } #endif -------------------------------------------------------------------------- PROJ_ROOT = ljacktcl DLL =$(PROJ_ROOT).dll DEFFILE =$(PROJ_ROOT).def DLLWRAP =dllwrap CC = gcc LIBS = -ltcl84 -lm -lljackuw INCLUDES = -Ic:/Tcl/include SRCS = $(PROJ_ROOT).c OBJS =$(SRCS:.c=.o) CFLAGS = -g -Wall LDFLAGS =-LC:/Tcl/lib -L. WRAPFLAGS =--driver-name $(CC) --def $(DEFFILE) all: $(DLL) $(DLL): $(OBJS) ljackuw.a $(DLLWRAP) $(WRAPFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) %.o: %.c ${CC} ${CFLAGS} ${INCLUDES} -c $< -o $@ depend: makedepend ${SRCS} clean: rm *.o core *~ $(DLL) *.bak ljackuw.a libljackuw.a # rm *.o core *~ $(DLL) *.bak ljackuw.a libljackuw.a ljackuw.def ljackuw.def: pexports c:/windows/system32/ljackuw.dll | sed "s/^_//" > ljackuw.def # hand edit afterwards to add @24,etc sufixes ljackuw.a: ljackuw.def dlltool --dllname c:/windows/system32/ljackuw.dll --def ljackuw.def --output-lib libljackuw.a # dlltool -U -d ljackuw.def -l ljackuw.a
4.A TCL DLL loading another DLL
I have both c5 and c55 on my pc, i moved a major app to c55, compiled it and all was ok, somehow now i am getting an error whenever I click ok on edits, the edit is in c5runx.dll - the c5 version of the dll - i can't figure out why my app is looking for c5runx.dll and not c55runx.dll - anyone have any ideas about what might be going on here? thanks Alan houghton
Users browsing this forum: No registered users and 71 guest