|
I'm not going to download random code.
Are these .NET assemblies? If not, then referencing them will not work - you'd need to P/Invoke them. Does the manufacturer supply an SDK?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
hi
thanks for your attention
it does not said anything about dll to be in .net framework or not.
i have guessed that it should be .net from the manual and functions provided there.
and those uploaded files are not my code. they are dll and lib files.
|
|
|
|
|
You can't write code by "guessing". You'll need to know what methods are available, and only the manufacturer knows how the device talks to the system (what the driver is capable of)
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
You can only set a reference the .DLL's that are COM-based or .NET-based. Other than that, you MUST have the documentation on what functions the .DLL's export and what types their parameters and return values are and use P/Invoke to call them instead. This is information that you have to get from the manfucturer of your device.
|
|
|
|
|
thanks Eddy Vluggenand and Dave Kreskowiak
I used P/Invoke and it seems it will work with that.
As you mentioned there is just a manual with functions of dll and their parameters.
I will check soon.
Thanks again
|
|
|
|
|
I have created asp.net web application in windows 7. I am able to run locally but i am not able to run from other system.
What could be the possible reason.
If anybody knows, please reply me.
Thanks in advance.
|
|
|
|
|
Where is it hosted - locally? What do you mean with "run from other system" - viewing it in a browser or hosting it?
What about the firewalls? Which server do you use - IIS or something else?
|
|
|
|
|
|
Can you specify the error showing while running on other system I am faced lot of problem related COM components. Some errors can fix by setting necessary privileges for com components . By using DOM settins
|
|
|
|
|
Hello,
I'm recreating the Fenêtre Volante screensaver from the Mac for Windows. I know you can rename a *.exe file to *.scr, and Windows will recognize it as a screensaver when it's in the %WINDIR%\System32 directory.
I'm creating it on a Windows 8 (x86) device, and it is running fine in any directory. It also runs fine when I test it on another Windows 8 device (also x86).
When I'm testing the same .scr file on two Windows 7 (x64) computers in the System32 directory, it says it can either not find the required runtime or it just can't start because the SHIM version cannot be determined or something like that.
But when the executable is not in the System32 directory, it runs fine.
I've tested this with both .Net Framework 4.0 and 4.5.
The screensaver is using the Application Settings to save the screensaver settings.
Can anybody please help me?
Paul van der Stel
|
|
|
|
|
What about SysWOW64 on 64bit OS instead of System32 ?
|
|
|
|
|
Thank you for your (great) reply!
It worked! Why did I not think of this? I feel so stupid...
Paul van der Stel
|
|
|
|
|
hi,
I have to develop asp.net web service using c# and wpf application. my requirement is mentioned bellow.
1) wpf application has to communicate asp.net web service.
2) To display callback messages in wpf application, these call back messages sent by asp.net web service.
could you tell me how to implement to handle callback messages. If delegates are usefull then where to declare the delegate and how to use.
Could you send me the sample if you have.
regards,
chittibabu
|
|
|
|
|
If only someone had written an article[^] here on Code Project about this?
|
|
|
|
|
Hi,
I'm getting with increasing frequency the following Error when building my Forms App:-
Error 1 The build stopped unexpectedly because of an internal failure.
Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded. If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable.
at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration)
at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration)
at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity)
at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1 responses)
at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildRequestBlocker blocker)
at Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission, Boolean allowMainThreadBuild, BuildRequestBlocker blocker) C:\Users\Bram\Documents\Visual Studio 2012\Projects\SgCntr\SgCntr\SgCntr.csproj SgCntr
Anybody Any Idea for Any reason why?
Most times it just works when I try again. It also doesnot seem to connect to an MS BugReport Option.
Regards,
Bram van Kampen
|
|
|
|
|
Bram van Kampen wrote: Anybody Any Idea for Any reason why? None, but the starting question remains the same; does it happen when you disable all addins?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
Got a better picture of when this happens.
In Win User Mode the Code builds mostly fine (but does not run propperly due to access rights, as previously discussed) when in User Mode.(the error in question cropped up once or twice, but restarting the Build process has always solved it so far.)
When I swicth to Win Admin mode and try to buil the very same code in the very same directory I consistently get this error. I am trying to build in Admin mode to prove the point about access rights to the DB.
As for Add Ons, I have VS2012 R2, as it came 'Out of the Box' + all automatic MS Updates. Iow: I have not added anything on to it, and would not know what else to disable.
Thanks,
Bram van Kampen
|
|
|
|
|
hi,
i created a application in dropbox using vb.net 2012 web application, so i using oauth for getting token, so i got the token but other process of account info and files getting and upload like that process i cant do it. so please give a sample application for this requirement, its very helpful to me and also in future reference... Thanks in advance
|
|
|
|
|
The DropBox forum will probably know more about their API then we.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
|
|
Ummm....yeah.....whatever.
|
|
|
|
|
How to create video on our own website using asp.net
|
|
|
|
|