Tuesday, February 21, 2012
0x80040154: Class not registered - ActiveX
When working with Ax control in .NET, keep in mind the target platform of Ax (x86, x6, IA).
Monday, February 20, 2012
LNK2001: unresolved external symbol
I recently joined a C++ project and I had to make the build process with no hard-coded paths to dependencies and I decided to use the References. Everything is good and nice until one of the projects gives the error from the title: linker error - some external symbol could not be found. If you want to get more information on linker, you can use /verbose option.
In my case, at the setting Project Properties->Linker->General->Link Library Dependencies was set to No. Setting it on Yes, fixed all the linker errors.
Hopes it helps!
In my case, at the setting Project Properties->Linker->General->Link Library Dependencies was set to No. Setting it on Yes, fixed all the linker errors.
Hopes it helps!
Friday, January 13, 2012
Wednesday, December 21, 2011
On VC++ 2005 Express intellisense
When working with a large codebase in VC++ 2005 Express SP1, the IDE might crash when updating intellisense.
It looks like there are a couple of hotfixes for this problem: KB913377 and KB947315.
After installing, the IDE did not crush anymore (tested on Webkit).
It looks like there are a couple of hotfixes for this problem: KB913377 and KB947315.
After installing, the IDE did not crush anymore (tested on Webkit).
Wednesday, December 14, 2011
My "JSBSim Applications to UAV Flight Dynamics Models" article published
One of my latest articles "JSBSim Applications to UAV Flight Dynamics Models" was published in Scientific Bulletin of "POLITEHNICA" University of Timisoara (Vol 56 (70), No. 3 / Sept. 2011).
Monday, October 3, 2011
How to execute a remote command in IronRuby
def execute_remote_command(command, machine_name, username, password)
begin
require "System"
windir = System::Environment.GetFolderPath(System::Environment::SpecialFolder.Windows)
Dir.chdir "#{windir}\\Microsoft.NET\\Framework\\v4.0.30319\\"
require 'System.Management'
options = System::Management::ConnectionOptions.new()
options.Username = username
options.Password = password
path = System::Management::ManagementPath.new("\\\\#{machine_name}\\root\\cimv2:Win32_Process")
scope = System::Management::ManagementScope.new(path, options)
scope.Connect()
opt = System::Management::ObjectGetOptions.new()
class_instance = System::Management::ManagementClass.new(scope, path, opt)
in_params = class_instance.GetMethodParameters("Create")
in_params["CommandLine"] = command
# Execute the method and obtain the return values.
out_params = class_instance.InvokeMethod("Create", in_params, nil)
return out_params["returnValue"]
rescue Exception => ex
puts ex.ToString()
return "-1"
end
# Return values:
# 0 Successful completion
# 2 Access denied
# 3 Insufficient privilege
# 8 Unknown failure
# 9 Path not found
# 21 Invalid parameter
# -1 Other exception
end
Thursday, September 1, 2011
My favorite VS 2010 free extensions
AnkhSVN or http://visualstudiogallery.msdn.microsoft.com/E721D830-7664-4E02-8D03-933C3F1477F2
Subscribe to:
Posts (Atom)